메인 콘텐츠로 건너뛰기
DELETE
/
media_library
Delete media library file
curl --request DELETE \
  --url https://your_a2_service/media_library \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "cdn_path": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "file_size": 123,
  "filename": "<string>",
  "height": 123,
  "mime": "<string>",
  "no": 123,
  "path": "<string>",
  "storage": "<string>",
  "updated_at": "2023-11-07T05:31:56Z",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "width": 123
}'
"<any>"

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

미디어 라이브러리 삭제 스키마

cdn_path
string
required

미디어 파일에 접근할 수 있는 CDN URL

file_size
integer
required

파일의 크기(바이트)

filename
string
required

미디어 파일 이름

height
integer
required

미디어의 높이(픽셀)

mime
string
required

미디어 파일의 MIME 타입. 예) image/jpeg, video/mp4

no
integer
required

미디어 라이브러리 번호

path
string
required

저장소에 저장된 상대 경로

storage
string
required

미디어 파일이 저장되는 저장소 타입

user_id
string<uuid>
required

미디어 라이브러리의 소유자 id

width
integer
required

너비

created_at
string<date-time> | null

생성 일시

updated_at
string<date-time> | null

변경 일시

Response

Successful Response

The response is of type any.